package com.ibm.law.ui.common;

import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Button;

public class CloseDialogSelectionAdapter extends SelectionAdapter {
	@Override
	public void widgetSelected(SelectionEvent e) {
		if (e.getSource() instanceof Button) {
			Button button = (Button) e.getSource();
			button.getShell().close();

		}
	}
}
